package edu.zut.pojo;

import lombok.Data;

import java.time.LocalDate;
import java.util.List;

//订单实体
@Data
public class Orders {

    private Integer id;
    private String number;
    private Integer user_id;
    private String note;
    private LocalDate createTime;

    //一对一表示用户信息
    private UserInfo info;

    //一个订单有多个详情信息
    private List<OrderDetails> orderDetailsList;


}
